package com.itgan.userbackendmanagement.constant;

import lombok.Data;

import java.io.Serializable;
@Data
public class UserConstant implements Serializable {
    public static final String SALT = "agan";

    public static final String USER_LOGIN_STATE = "userLoginState";

    public static final String USET_REGISTER_SUCCESS = "userRegisterSuccess";

    public static final String USET_REGISTER_FAIL = "userRegisterFail";

    /**
     * 管理员权限
     */
    public static final int ADMIN_ROLE = 1;

    /**
     * 默认权限
     */
    public static final int DEFAULT_ROLE = 0;

}
